<!--
 * @Author: zhangweinan
 * @Date: 2022-11-16 09:45:46
 * @LastEditors: zhangweinan
 * @LastEditTime: 2023-04-19 13:24:23
 * @Description: file content
 * @FilePath: \front-end-of-task-center\src\views\infra\server\index.vue
-->
<template>
  <div>
    <doc-alert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" />
    <i-frame :src="url" />
  </div>
</template>
<script>
import iFrame from "@/components/iFrame/index";
import { productionUrl } from "@/config/env";
export default {
  name: "Druid",
  components: { iFrame },
  data() {
    return {
      url:
        process.env.NODE_ENV === "production"
          ? `${productionUrl}admin/applications`
          : `${process.env.VUE_APP_BASE_API}/admin/applications`,
      //url: process.env.VUE_APP_BASE_API + "/admin/applications"
    };
  },
};
</script>
